
export default {
  color: ['#006dff'],
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'shadow'
    },
    formatter: '{b}{a}: <br/> {c}'
  },
  grid: {
    x: '15%'
  },
  graphic: [
    {
      type: 'text',
      left: 'center',
      top: 'middle',
      z: 1,
      style: {
        text: '暂无数据',
        fill: 'transparent'
      }
    }
  ],
  xAxis: [
    {
      type: 'category',
      data: [],
      axisLabel: {
        // x轴 强制显示出来
        interval: 0
      },
      axisLine: {
        show: false
      }
    }
  ],
  yAxis: [
    {
      type: 'value',
      splitLine: {
        lineStyle: {
          type: 'dashed'
        }
      },
      axisLine: {
        show: false
      },
      axisTick: {
        show: false
      },
      minInterval: 1
    }
  ],
  series: [
    {
      name: '人数',
      type: 'bar',
      barWidth: '35%',
      data: []
    }
  ]
}
